home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 155
/
XENIATGM155.iso
/
Gioco Allegato
/
Mods
/
SWRv0.1.exe
/
SWRv0.1
/
etg
/
r1B5LargeProjectilesBullet.ebg
< prev
next >
Wrap
Text File
|
2001-06-12
|
2KB
|
91 lines
// CnlPepper's Weapon Pack - V3.0 - http://www.geocities.com/cnlpepper
// -------------------------------------------------------------------
// R1 Unlimited Large Projectile Script - r1B5LargeProjectilesBullet.ebg - v1.0
//
// Uses the BulletLength parameter passed from the weapon entry in the .shp files to determine which weapon image to display.
//
// Currently implimented weapon images:
// BulletLength 1.0 - EA Large Plasma Cannon (Green Pulse)
// BulletLength 2.0 - EA Heavy Pulse Cannon (Off-White Pulse)
// BulletLength 3.0 - EA Medium Pulse Cannon (Red Pulse)
// BulletLength 4.0 - EA Small Pulse Cannon (Blue Pulse)
// BulletLength 5.0 - EA Heavy Rail Gun [UNFINISHED]
// BulletLength 6.0 - EA Medium Pulse Cannon (off-White Pulse)
eventStart(float damage = 10, float velocity = 20, float length = 1.0, float duration = 9999)
maxFrequency(30)
variable
{
int flame
float flamesize
float value
}
startup
{
setDefaults()
spawn(r1B5LargeProjectilesFire.ebg, length)
setDefaults()
if (length == 1.0)
{
setScale(56)
setLength(3)
setOffsetLOF(-150)
setMesh(etg\meshes\misc\bullet.geo)
setTexture(textures\bullets\PlasmaGreen, 0, 0, 32, 64)
}
if (length == 2.0)
{
setScale(50)
setLength(3)
setOffsetLOF(-150)
setMesh(etg\meshes\misc\bullet.geo)
setTexture(textures\bullets\PlasmaWhite, 0, 0, 32, 64)
}
if (length == 3.0)
{
setScale(42)
setLength(2)
setMesh(etg\meshes\misc\bullet.geo)
setTexture(textures\bullets\IonRed, 0, 0, 32, 64)
setAddColor(1.0,0.4, 0.0)
}
if (length == 4.0)
{
setScale(32)
setLength(1.6)
setMesh(etg\meshes\misc\bullet.geo)
setTexture(textures\bullets\PulseBlue, 0, 0, 32, 64)
}
if (length == 5.0)
{
}
if (length == 6.0)
{
setScale(42)
setLength(3)
setOffsetLOF(-150)
setMesh(etg\meshes\misc\bullet.geo)
setTexture(textures\bullets\PlasmaWhite, 0, 0, 32, 64)
}
setDeltaR(5, [(360) * 2.0 * 3.14159265359789 / 360.0])
setDepthWrite(0)
setPseudoBillboard(1)
setVelocityInWorldSpace(1)
setLighting(0)
setIllum(1)
setLifespan(1000)
flame <- createMeshes(1,0)
}